package com.hzw.saas.common.config.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 *
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class BaseLogicShardModel extends BaseShardModel {

    private static final long serialVersionUID = 1L;

    /**
     * 基础状态, 0：正常，1：逻辑删除
     */
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    protected Integer isDelete;

}
